XML For Dummies by Lucinda Dykes & Ed Tittel
Author:Lucinda Dykes & Ed Tittel
Language: eng
Format: epub
Publisher: Wiley
Step 5: Using Datatype Declarations to Define What’s What
A datatype declaration is a statement added to an element or attribute in a schema that lets document creators (or validating parsers) know exactly what kind of data you’re actually working with when you declare an element or attribute. Using XML Schema, you can get even more explicit than a run-of-the-mill built-in datatype: Using any of the 44 XML Schema datatypes, you can derive your own datatypes, adding further qualifications in your quest to make the datatype more specific to the demands of your work.
As you build your custom schema, you need to think carefully about the type of data each element and attribute will hold, and take advantage of datatype declarations to pass the specifics to document builders and processing applications. After you’ve created your initial set of elements and attributes, go back and add datatype declarations to them.
As we mention in Chapter 9, XML Schema offers 44 built-in datatypes — from strings to integers, to date and time stamps, and beyond — for you to use. XML Schema also has the unique feature of supporting reusable user-derived datatypes — in other words, you can derive your own datatypes from the built-in datatypes and reuse these datatypes throughout your schema document.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Access | Data Mining |
Data Modeling & Design | Data Processing |
Data Warehousing | MySQL |
Oracle | Other Databases |
Relational Databases | SQL |
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(7861)
Learning SQL by Alan Beaulieu(5427)
Weapons of Math Destruction by Cathy O'Neil(5049)
Big Data Analysis with Python by Ivan Marin(3099)
Blockchain Basics by Daniel Drescher(2897)
Building Statistical Models in Python by Huy Hoang Nguyen & Paul N Adams & Stuart J Miller(2647)
Azure Data and AI Architect Handbook by Olivier Mertens & Breght Van Baelen(2621)
Serverless Machine Learning with Amazon Redshift ML by Debu Panda & Phil Bates & Bhanu Pittampally & Sumeet Joshi(2555)
Hands-On Machine Learning for Algorithmic Trading by Stefan Jansen(2545)
Pandas Cookbook by Theodore Petrou(2509)
Mastering Python for Finance by Unknown(2493)
Data Wrangling on AWS by Navnit Shukla | Sankar M | Sam Palani(2334)
How The Mind Works by Steven Pinker(2222)
Driving Data Quality with Data Contracts by Andrew Jones(2200)
Data Engineering with dbt by Roberto Zagni(2159)
Building Machine Learning Systems with Python by Richert Willi Coelho Luis Pedro(2061)
Network Science with Python and NetworkX Quick Start Guide by Edward L. Platt(2009)
Machine Learning Model Serving Patterns and Best Practices by Md Johirul Islam(1994)
Python Natural Language Processing by Jalaj Thanaki(1895)